import java.util.Scanner;

public class AdminUser extends User{
    Scanner scanner = new Scanner(System.in);

    public void manage(String name){
        System.out.println("管理员管理了图书"+name);
    }
    public AdminUser(String name, int age) {
        super(name, age);
    }

    @Override
    int menu() {
        System.out.println("管理员用户界面......");
        System.out.println("1.查看图书");
        System.out.println("2.管理图书");
        return scanner.nextInt();
    }
}
